package com.itheima.service.mongo;

import com.itheima.domain.mongo.Movement;
import com.itheima.vo.PageBeanVo;

public interface MovementService {
    //发布动态
    void saveMovement(Movement movement);

    //查看自己发布的动态
    PageBeanVo findMyMovement(Long userId, Integer pageNum, Integer pageSize);

    //查询我的好友的动态
    PageBeanVo findMyFriendMovement(Long userId, Integer pageNum, Integer pageSize);

    //查看推荐动态
    PageBeanVo findRecommendMovement(Long userId, Integer pageNum, Integer pageSize);

    //查询指定id的动态详情
    Movement findMovementById(String movementId);

    //查询动态评论
    PageBeanVo findMovementComment(String movementId, Integer pageNum, Integer pageSize);

    //查询动态
    PageBeanVo findMovementByUid(Long uid, Integer stateInt, Integer pageNum, Integer pageSize);


    void updateMovementState(Movement movement);

    //消息通过
    void messagesPass(String[] str);

    //消息拒绝
    void messagesReject(String[] str);
}
